def GetUpdateSQL(name, arr):
        index = 0
        str = 'UPDATE ' + name + ' SET '
        for i in arr:
            if index == 0:
                index = 1
                continue
            str += i + ' = @' + i + ', ';
        str = str[:-2]
        str += ' WHERE ' + arr[0] + ' = @' + arr[0]
        return str;
Result = GetUpdateSQL(tableName, Columns);

